import request from '@/router/axios'

export function page (data) {
  return request({
    url: '/alarmrecord/page',
    method: 'get',
    params:data
  })
}

export function deleteById (id) {
  return request({
    url: '/alarmrecord/'+id,
    method: 'delete'
  })
}